<!doctype html>
<html lang="en-us">
    <head>
        <meta charset="utf-8">

        <title>Administracija | Dobrodošli</title>

        <meta name="description" content="Administracija">

        <link rel="icon" href="<?=base_url()?>assets/img/pngico.png" type="image/x-icon" />

        <!-- Apple iOS and Android stuff -->
        <meta name="apple-mobile-web-app-capable" content="no">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png">

        <!-- Apple iOS and Android stuff - don't remove! -->
        <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no,maximum-scale=1">

        <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
        <meta http-equiv="Pragma" content="no-cache">
        <meta http-equiv="Expires" content="0">


        <!-- Use Google CDN for jQuery and jQuery UI -->
        <!--<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
        <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js"></script>--> 

        <script src="<?=base_url()?>assets/js/jquery.min.js"></script>
        <script src="<?=base_url()?>assets/js/jquery-ui.min.js"></script> 

        <!--FONT FROM GOOGLE-->
        <!--<link href="http://fonts.googleapis.com/css?family=PT+Sans:regular,bold" rel="stylesheet">-->

        <!-- VARS to JS -->
        <script type="text/javascript">
            var base_url = '<?=base_url()?>';
            var site_url = '<?=site_url()?>';
            var page = '<?=$page?>';
            var sub = '<?=$sub?>';
            var upsub = '<?=$upsub?>';
            var path = base_url+'assets/';
            var lang = '<?=$lang?>';
        </script>

        <!--DISPLAY Assets CSS & JS --> 
        <?  
            $this->montenegrin->display();
        ?>

        <!--[if lt IE 9]>
        <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <link rel="stylesheet" href="css/ie.css">
        <![endif]-->       

    </head>

    <body id="page_<?=$page?>_<?=$sub?>">

        <div id="pageoptions" style="margin-top: 3px;">
            <ul>
                <li>
                    <a href="<?=$url?>login/logout" class="i_exit" style="background-repeat: no-repeat; background-position: -3px -5px; padding-left: 23px;">
                        
                        <?
                            switch($this->session->userdata('typeofuser_id')  ){
                                
                                case 'AD': echo 'Administrator'; break;
                                case 'ED': echo 'Urednik'; break;
                                case 'JN': echo 'Novinar'; break;
                                case 'LT': echo 'Lektor'; break;
                                case 'MP': echo 'Marketing Person'; break;
                                
                            }
                       ?>     
                            
                        <?=$this->session->userdata('firstname').' '.$this->session->userdata('lastname')?>
                         odjavi se</a></li>
                <!--<li><a href="javascript:" class="i_cog_4" style="background-repeat: no-repeat; background-position: 1px -5px; padding-left: 23px;">Podešavanja</a></li>-->
            </ul>
        </div>

        <header>
            <?=$this->load->view('header');?>
        </header>

        <nav>
            <?=$this->load->view('nav');?>
        </nav>

        <section id="content">
            <?=$contlayout;?>
        </section>

        <footer>
            <?=$this->load->view('footer');?>
        </footer>

        <!-- LOADER Images  -->
        <div class="hidden">
            <!--<img src="<?=$path;?>img/busy.gif" alt="hidden" />-->    

        </div>

        <!-- MODAL EDITOR -->
        <div id="modaleditor"> </div>

    </body>
    <script type="text/javascript">
        if (window.navigator.product == "Gecko"){
            document.documentElement.removeAttribute("manifest");
        }

    </script>


</html>
